<me:UIKDANSP x:Class="WPFExcelReport.TSKD14"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIKDANSP.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
    </me:UIKDANSP.Resources>
    <WrapPanel>
        <Button  Grid.Column="0" Click="ManageCommand" Width="12" Height="20" HorizontalAlignment="Left" Visibility="{Binding IsMaster, Converter={StaticResource bv}}" >
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Extend.png" />
            </Button.Background>
        </Button>
        <ComboBox 
                   Visibility="{Binding IsEdit,ElementName=TV, Converter={StaticResource bv}}"
                    IsEditable="True" 
                    Width="Auto" 
                    MinWidth="100" 
                    SelectedValuePath="KEY" 
                    DisplayMemberPath="DES"
                    ItemsSource="{Binding Source={StaticResource vwMaster}}" 
                    IsSynchronizedWithCurrentItem="True" 
            >
        </ComboBox>
        <TextBlock Text="{Binding DES,Source={StaticResource vwMaster}}"></TextBlock>
    </WrapPanel> 
</me:UIKDANSP>
